Streams relate Class
Lets the user search for streams they can relate a given stream to, and relate it
Constructor
Streams relate
-
options
Parameters:
-
options
ObjectOverride various options for this tool
-
publisherId
Stringpublisher id of the stream to relate
-
streamName
Stringname of stream to relate
-
types
Arraythe types of streams the user can select
-
relationType
Stringthe type of the relation to create
-
[communityId=Q.Users.communityId]
String optionalid of the user publishing the streams to relate to
-
[typeNames]
Object optionalpairs of {type: typeName} to override names of the types, which would otherwise be taken from the types
-
[multiple=true]
Boolean optionalwhether the user can select multiple types for the lookup
-
[relateFrom=false]
Boolean optionalif true, will relate FROM the user-selected stream TO the streamName instead
-
[types]
String optionalthe types of streams the user can select
-
[onRelate]
Q.Event optionalThis event handler occurs when a stream is successfully related
-
Item Index
Methods
Methods
refresh
-
An
Call this method to refresh the contents of the tool, requesting only what's needed and redrawing only what's needed.
Parameters:
-
An
Functionoptional callback to call after refresh has completed. It receives (result, entering, exiting, updating) arguments.